//package Demo;

public class Solution {

	public String chromosome;
	public int fitness;

	public Solution()
	{
		
	}
	
	public Solution(String c)
	{
		chromosome = c;
	}
	
	public static String GenerateGenome(int bytes)
	{
		String out = "";
		for( int i = 0; i<bytes; i++)
		{
			for(int j = 0; j<8 ; j++)
			{
				if(Math.random() > .5)
				{
					out += "1";
				}
				else
				{
					out += "0";
				}
			}
		}
		return out;
	}
}
